/* $Id: SearchCriteriaPersonVO.java 
 * Copyright (C) 2011, TRAKHEES
 *  
 * Revision History
 *
 * Date  				Author 		    	Remarks
 * ---------------------------------------------------------------------------------
 * March 6, 2012 	   Ismail		 		Created
 *
 */
package ae.pcfc.etks.online.common.vo;

import java.io.Serializable;
import java.util.List;

import org.apache.commons.lang.StringUtils;

public class SearchCriteriaPersonVO implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Integer clientId;
	private String nameEng;
	private String nameArb;
	private String homeNumber;
	private String officeNumber;
	private String mobile;
	//private String clientRoleId;
	private String trakheesID;
	private List<String> clientRoleIdList;
	
	public List<String> getClientRoleIdList() {
		return clientRoleIdList;
	}
	public void setClientRoleIdList(List<String> clientRoleIdList) {
		this.clientRoleIdList = clientRoleIdList;
	}
	public Integer getClientId() {
		return clientId;
	}
	public void setClientId(Integer clientId) {
		this.clientId = clientId;
	}
	public String getNameEng() {
		return nameEng;
	}
	public void setNameEng(String nameEng) {
		this.nameEng = nameEng;
	}
	public String getNameArb() {
		return nameArb;
	}
	public void setNameArb(String nameArb) {
		this.nameArb = nameArb;
	}
	public String getHomeNumber() {
		return homeNumber;
	}
	public void setHomeNumber(String homeNumber) {
		this.homeNumber = homeNumber;
	}
	public String getOfficeNumber() {
		return officeNumber;
	}
	public void setOfficeNumber(String officeNumber) {
		this.officeNumber = officeNumber;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getTrakheesID() {
		return trakheesID;
	}
	public void setTrakheesID(String trakheesID) {
		this.trakheesID = trakheesID;
	}
	public String getClientRoleIdListAsString() {
		// TODO Auto-generated method stub
		if(clientRoleIdList != null){
			return StringUtils.join(clientRoleIdList, "','");
		}
		return null;
	}
}
